package com.itqf.service;

import com.itqf.entity.TbItem;
import com.itqf.utils.R;

import java.util.List;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2021/1/22
 * @Time: 下午3:03
 */
public interface TbItemService {

    public List<TbItem> findAll();


    public  int addTbItem(TbItem tbItem);
    public  int update(TbItem tbItem);


    public  TbItem  findById(long id);

    public  int  batchDelete(List<Long> ids);

    //------------layui的分页
    //Map
    public R findByPage(int page,int limit);
    //------------layui的删除
    public  R  del(long id);
    //------------layui的修改
    public  R updateTbItem(TbItem tbItem);


}
